<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">
<title>应急事件管理下新建事件</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<link rel="stylesheet" href="<%=basePath%>bootstrap/css/bootstrap.css"
	type="text/css" />
<link rel="stylesheet"
	href="<%=basePath%>css/public/daterangepicker.css" type="text/css" />
<link rel="stylesheet" href="<%=basePath%>css/public/common.css" />
<link rel="stylesheet" href="<%=basePath%>css/yjsjgl/yjsjgl_xjsj.css"
	type="text/css" />
</head>
<body style="margin: 0px;padding: 0px;width:100%;text-align:center;">
	<div class="daohang"><span>应急事件管理 > 新建事件</span></div>
	<!-- 查询条件 -->
	<div class="searchCondition">
		<div class="controls" style="width:280px;float: left;">
			<div style="width:70px;float: left;height: 30px;line-height: 30px;">
				<label>事件时间：</label>
			</div>
			<div class="input-group date datetime">
				<input id="cxdate" class="begindate form-control input-sm" size="16" type="text" value=""> 
				<span class="input-group-addon">
				   <span class="glyphicon glyphicon-time"></span>
				</span>
			</div>
		</div>
		<div style="width:90px;float: left;height: 30px;line-height: 30px;padding-left:20px;">
			<label>事件名称：</label>
		</div>
		<div style="float: left;">
			<input type="text" class="scinput" style="position: relative;" id="eventName"/> 
			&nbsp;&nbsp;&nbsp;&nbsp;
			<input style="position: relative;" type="button" class="btn btn-info" value="查询" id="searchSjBtn"/>
		</div>
		<ul class="toolbar1">
			<li onclick="showsjAddDiv();"><span><img
					src="<%=basePath%>css/public/images/t01.png" /></span>添加</li>
			<li onclick="deleteSj();"><span><img
					src="<%=basePath%>css/public/images/t03.png" /></span>删除</li>
		</ul>
	</div>
	<!--end 查询条件  -->
	<!--事件列表  -->
	<div class="tableContent" id="xisjTableList">
		<%@include file="subPages/yjsjgl_xjsj_fenyeList.jsp"%>
	</div>
	<!-- end事件列表 -->
	<!-- 新增事件 -->
	<div id="sjAddDiv" class="tip">
		<div class="tiptop">
			<span>新建事件</span><a href="javascript:void(0)"
				onclick="closeSjAddDiv()"></a>
		</div>
		<div style="overflow-y: scroll;height:398px; ">
			<form method="post" id="eventForm">
				<table id="xjTab" border="0" cellpadding="0" cellspacing="0">
					<tbody>
						<tr>
							<td class="rstyle">事件名称</td>
							<td colspan="3"><input type="text" name="eve_nm"
								class="scinput" style="width: 550px;"></td>
						</tr>
						<tr>
							<td class="rstyle">事件类型</td>
							<td colspan="3"><select class="scinput"
								style="width:550px;text-align:center" name="eve_type">
									<option value="蓝藻爆发">蓝藻爆发</option>
									<option value="红藻爆发">红藻爆发</option>
									<option value="黑藻爆发">黑藻爆发</option>
									<option value="绿藻爆发">绿藻爆发</option>
							</select></td>
						</tr>
						<tr>
							<td class="rstyle">记录人</td>
							<td><input type="text" class="scinput" name="rec_nm"></td>
							<td align="right" style="width: 230px;padding-right: 20px;">
								记录时间</td>
							<td>
								<div class="controls" style="width:150px;">
									<div class="input-group date datetime">
										<input id="begindate1" class="begindate form-control input-sm"
											size="16" type="text" name="rec_dt"> <span
											class="input-group-addon"><span
											class="glyphicon glyphicon-time"></span></span>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td class="rstyle">事件时间</td>
							<td>
								<div class="controls" style="width:150px;">
									<div class="input-group date datetime">
										<input id="begindate2" class="begindate form-control input-sm"
											size="16" type="text" value="" name="eve_dt"> <span
											class="input-group-addon"><span
											class="glyphicon glyphicon-time"></span></span>
									</div>
								</div>
							</td>
							<td align="right" style="width: 230px;padding-right: 20px;">
								影响供水程度</td>
							<td><input type="text" name="water_deg" class="scinput" >
							</td>
						</tr>
						<tr>
							<td class="rstyle">事件地点</td>
							<td colspan="3"><input type="text" name="eve_addr"
								class="scinput" style="width: 550px;"></td>
						</tr>
						<tr>
							<td class="rstyle">事件概述</td>
							<td colspan="3">
							   <textarea rows="4" class="scinput" style="width: 550px;" name="eve_gs"></textarea>
							</td>
						</tr>
						<tr>
							<td class="rstyle">处理方式</td>
							<td colspan="3"><input type="text" name="eve_method"
								class="scinput" style="width: 550px;"></td>
						</tr>
						<tr>
							<td class="rstyle">事件等级</td>
							<td colspan="3"><select class="scinput"
								style="width:550px;text-align:center" name="eve_dre">
									<option value="红">红</option>
									<option value="橙">橙</option>
									<option value="黄">黄</option>
									<option value="绿">绿</option>
							</select></td>
						</tr>
						<tr>
						    <td class="rstyle">效果评估</td>
						    <td colspan="3">
						        <textarea rows="4" class="scinput" style="width: 550px;" name="eve_xgpg"></textarea>
						    </td>
						</tr>
						<tr>
							<td colspan="4" align="center">
							<input style="position: relative;top: -3px;" type="button" class="btn btn-info" value="保存" onclick="saveEvent()"></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
	<!-- end新增事件 -->
</body>
<script type="text/javascript"
	src="<%=basePath%>js/public/jquery-1.11.1.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/public/moment.js"></script>
<script type="text/javascript"
	src="<%=basePath%>js/public/daterangepicker.js"></script>
<script src="<%=basePath%>js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="<%=basePath%>js/yjsjgl/xjsj.js"></script>
</html>
